<template>
  <div id="app">我是app</div>
  <testDemo></testDemo>
  <el-button type="warning">warning</el-button>
  <el-button type="danger">danger</el-button>
  <el-button @click="userStore.setToken('1234567')">登录</el-button>
  <el-button @click="userStore.removeToken()">退出</el-button>
  <h1>我是token：{{ userStore.token }}</h1>
</template>

<script setup>
import { useUserStore } from '@/stores/user.js'

const userStore = useUserStore()
</script>

<style lang="less"></style>
